package com.xqboss.apps.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.Column;
import java.time.LocalDateTime;

/**
 * <p>
 *     基础表字段
 * </p>
 * @author Trent
 * @date 2023/8/22
 */
@Data
public class BaseTable {

    @Column(insertable=false, updatable=false)
    private LocalDateTime createTime;

    @Column(insertable=false, updatable=false)
    private LocalDateTime updateTime;

    @TableLogic
    @JsonIgnore
    private Boolean delFlag;

}
